home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Interface / sprite_saturate.mat < prev    next >
Encoding:
Text File  |  2004-01-05  |  621 b   |  32 lines

  1. !include ("../mat.def" )
  2.  
  3. shader()
  4. {
  5.     cull("none")
  6.     sortweight("sprite")
  7.  
  8.     pass()
  9.     {
  10.         NoFog()
  11.  
  12.         tmu()
  13.         {
  14.             texture()
  15.             {
  16.                 usermap(0)
  17.                 filtering("linear_no_mip")
  18.                 addressfunc("clamp", "clamp", "clamp")
  19.             }
  20.  
  21.             colorop("mul", "texture", "tfactor", "current")
  22.             alphaop("mul", "texture", "tfactor", "current")
  23.         }
  24.  
  25.         colorgen("tfactor", "user", 0, 0, 0, "user", 0, 0, 0)
  26.  
  27.         blendfunc( "src_alpha", "one" )
  28.         depthfunc( "always", 0 )
  29.     }
  30. }
  31.  
  32.